//
//  MYShopSettlementModel.h
//  MuYing
//
//  Created by tbb on 2020/2/26.
//  Copyright © 2020 TBB. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YQPAddressModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface MYShopSettlementModel : NSObject
@property (nonatomic, strong) YQPAddressEntityModel *userAddressEntity;
@property (nonatomic, copy) NSString * userIntegral;//积份
//积份抵扣的金额
@property (nonatomic, assign) CGFloat discountAmount;
//是否使用优惠券,是否使用积分
@property (nonatomic, assign) BOOL isIntegral;

//是否使用优惠券
@property (nonatomic, assign) BOOL isCoupon;
//优惠券ID
@property (nonatomic, copy) NSString * couponHistoryId;
//优惠券抵扣的金额
@property (nonatomic, assign) CGFloat couponHistory;

///是否购买运费险
@property (nonatomic, assign) BOOL isFreightInsurance;
///购买运费险价格
@property (nonatomic, assign) CGFloat deliverMoney;
//优惠券列表
@property (strong, nonatomic) NSArray *couponList;

@end

@interface YQPCouponModel :YQPNetWorkingBaseModel

@property (nonatomic, copy) NSString *couponHistoryId;
//@property (nonatomic, copy) NSString *couponCode;
//
//@property (nonatomic, copy) NSString *couponId;

@property (nonatomic, copy) NSString *discountsAmount;

@property (nonatomic, copy) NSString *endTime;

@property (nonatomic, copy) NSString *isEnabled;
//最低门槛
@property (nonatomic, copy) NSString *minPoint;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *startTime;

@property (nonatomic, copy) NSString *useType;

@property (assign, nonatomic) BOOL isSelect;
@end
 
NS_ASSUME_NONNULL_END
